package com.jianglin.state2.model.params;

import com.baomidou.mybatisplus.annotation.TableField;
import com.jianglin.state2.dao.entity.Employee;
import com.jianglin.state2.model.core.Biom;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class EmployeeAddParams extends Biom<Employee> {

    @NotNull
    @ApiModelProperty(value = "员工姓名",required = true)
    private String employeeName;

    @NotNull
    @ApiModelProperty(value = "性别",required = true)
    private String employeeSex;

    @ApiModelProperty(value = "电话")
    private String employeePhone;

    @ApiModelProperty(value = "QQ")
    private String employeeQQ;

    @ApiModelProperty(value = "邮箱")
    private String employeeEmail;

    @ApiModelProperty(value = "地址")
    private String employeeAdress;

    @ApiModelProperty(value = "类别")
    private Integer employeeForm;

    @NotNull
    @ApiModelProperty(value = "注册时间",required = true)
    private Date employeeLogin;

    @NotNull
    @ApiModelProperty(value = "密码",required = true)
    private String employeePwd;
}
